package com.itheima.spring.bestpractive.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @version 1.0
 * @author: HZY
 * @date: 2025/7/15 16:45
 * @Content:
 */
@Data
public class DisputesReqVo {
    @Schema(description = "员工编号")
    private long employeeId;

    @Schema(description = "考核计划编号")
    private long planId;

    @Schema(description = "争议指标列表")
    private List<DisputeItem> items;

    @Data
    public static class DisputeItem {
        @Schema(description = "考核指标编号")
        private long indicatorId;

        @Schema(description = "考核评语")
        private String comment;

        @Schema(description = "考核分数")
        private BigDecimal score;
    }
}
